package client.gui;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Point;
import java.awt.Rectangle;
import java.io.IOException;

import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;


import messages.MessageLogin;
import messages.MessageLoginReply;
import messages.MessageLoginReply.ErrMsg;
import messages.MessageLoginReply.LoginStatus;
import messages.MessageLoginReply.Permission;



import sharedspace.*;

/**
 * This is Screen Guest for future purposes.
 * @author Amir S.
 * @author Jacob C.
 * @author Maya G.
 * @author Michael V.
 *
 */

public class GUI_Guest extends GUI_AbstractMainMenu {


    private User user = null;
	
	boolean emptyUNflag=false;
	boolean emptyPWflag=false;
	


	public Client_GUI ms=null;
	private JButton back = null;
	private JLabel jLabel = null;
	/**
	 * This is the default constructor
	 * @param MS
	 */
	public GUI_Guest(Client_GUI ms) {
		super(MainMenuType.GUEST,ms);
		initiateGuest();
		greetMsg.setText("Welcome "+ms.lg.getCurrentUsername()+"!");
		mainMenu.setText("Guest");
	}

	/**
	 * This method initializes the Login screen
	 */
	private void initiateGuest() {
			
		jLabel = new JLabel();
		jLabel.setFont(new Font("Arial", Font.BOLD | Font.ITALIC, 50));
		jLabel.setBounds(new Rectangle(384, 29, 212, 57));
		jLabel.setForeground(Color.BLUE);
		jLabel.setText("Guest");
		this.setSize(1000, 800);	
		this.setLayout(null);
		this.add(jLabel, null);
	}

}  
